﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp7
{
    class Dog : Animal, ISwim
    {
        public void dog() 
        {
            Console.WriteLine("我是狗.");
        }
        public void Swim()
        {
            Console.WriteLine("我会游泳.");
        }
    }
}
